package com.dgf.nacosconsumer;

import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;


@RestControllerAdvice
public class GlobalExceptionHandler {



//    @ExceptionHandler(Exception.class)
//    public String handleException(Exception e) {
//        return e.getMessage();
//    }

}
